extends Node2D

@export var target_rotation_deg: float = 90.0
@export var rotation_duration: float = 1.0

func _ready() -> void:
	var tween = create_tween()
	tween.tween_property(
		self,
		"rotation",
		deg_to_rad(target_rotation_deg),
		rotation_duration
	)
